#include "lnstack.h"

int main ()
{
    PLStack pstack;
    
    pstack = createEmptyStack();
    
    if (pstack != NULL)
    {
        push(pstack, 'a');
        push(pstack, 'b');
        push(pstack, 'c');
        push(pstack, 'd');
        push(pstack, 'e');
        print(pstack);
        pop(pstack);
        print(pstack);
        push(pstack, '1');
        push(pstack, '2');
        push(pstack, '3');
        print(pstack); 
        destroy(&pstack);
    }

    return 0;
}
